#ifndef BUCKET__PLANT_H
#define BUCKET__PLANT_H
 

void setupBPW();
void initPortBPW();

bool globalInitBPW();


esp_sleep_wakeup_cause_t getWakeupReason();

void startApp(bool on);
bool isAppStart();

float getTemp();

int getTempPinValue();
float getVcc();
int getVccPinValue();
int getWater();
float convertVcc(int vcc);

void sendDataBPW();
float getVcc();
bool checkPumpIdle();

bool checkPumpOverload();

bool checkPumpPause();


#endif